package pers.lonestar.framework.utils.support.contexts;

import java.util.List;

import pers.lonestar.framework.utils.support.metadata.write.WriteSheet;
import pers.lonestar.framework.utils.support.metadata.write.WriteWorkbook;

/**
 * 保存解析过程中的外部变量
 * 包括文件、输入流、ReadWorkbook、FluxSink等
 */
public class XlsxWriteContext {
    private WriteWorkbook writeWorkbook;
    private WriteSheet writeSheet;
    private List<WriteSheet> parameterSheetDataList;

    public WriteWorkbook getWriteWorkbook() {
        return this.writeWorkbook;
    }

    public void setWriteWorkbook(WriteWorkbook writeWorkbook) {
        this.writeWorkbook = writeWorkbook;
    }

    public WriteSheet getWriteSheet() {
        return this.writeSheet;
    }

    public void setWriteSheet(WriteSheet writeSheet) {
        this.writeSheet = writeSheet;
    }

    public List<WriteSheet> getParameterSheetDataList() {
        return this.parameterSheetDataList;
    }

    public void setParameterSheetDataList(List<WriteSheet> parameterSheetDataList) {
        this.parameterSheetDataList = parameterSheetDataList;
    }
}
